package com.tanran.taolijin.repository;

import com.tanran.taolijin.model.TaobaoUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by Enzo Cotter on 2019/11/4.
 */
public interface TaobaoUserRepository extends JpaRepository<TaobaoUser,String> {
    public  TaobaoUser findByUserNameAndPassWord(String userName,String passWord);
    public  TaobaoUser findByUserName(String userName);
}
